.class Lcom/waiqin365/lightapp/diaobodan/g;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->g()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->c:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->i(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->i()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->d:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->m(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->g()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->f:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->m(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew;->i()Ljava/lang/CharSequence;

    move-result-object v1

    invoke-interface {v1}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->g:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->n(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->l:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->o(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Landroid/content/Context;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->o(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->k:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->p(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->f()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->o:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->p(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/EmployeeSelectView;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/view/EmployeeSelectView;->h()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->n:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->q(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/view/DateViewNoClear;

    move-result-object v1

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->s:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->r(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->t:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v0

    iget-object v0, v0, Lcom/waiqin365/lightapp/diaobodan/c/c;->v:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->s(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v2, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->l(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Lcom/waiqin365/lightapp/diaobodan/c/c;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/diaobodan/c/c;->v:Ljava/util/List;

    new-instance v3, Lcom/waiqin365/lightapp/product/d/d;

    invoke-direct {v3, v0}, Lcom/waiqin365/lightapp/product/d/d;-><init>(Lcom/waiqin365/base/db/jxccache/g;)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->t(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/diaobodan/g;->a:Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;->u(Lcom/waiqin365/lightapp/diaobodan/AddDBDActivity;)Landroid/widget/Button;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setEnabled(Z)V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0066
        :pswitch_0
    .end packed-switch
.end method
